$sliderWidth: 240;

.addressItem {
  .item_box {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #f5f8fa;
    // padding: 32px 0 80px 0;
    .overflow_container {
      position: relative;
      width: 100%;
      &.active {
        left: -$sliderWidth + px;
        transition: left 200ms;
      }
      &.noActive {
        left: 0px;
        transition: left 200ms;
      }
    }

    .operate_btn {
      position: absolute;
      width: $sliderWidth + px;
      right: -$sliderWidth + px;
      top: 0;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      .btn {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1;
        height: 100%;
        font-size: 32px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        &.edit {
          color: #666666;
          background: #e6e6e6;
        }
        &.del {
          background: #ff5a5a;
          color: #fff;
        }
      }
    }
  }
  .header {
    display: flex;
    // border-bottom: 1PX solid #eee;
    padding: 40px 0;
    .addressInfo {
      flex: 1;
      .address {
        font-size: 34px;
        font-weight: 500;
        width: 640px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
      }
      .namePhone {
        display: flex;
        padding-top: 20px;
        color: #555;
        .gender {
          margin: 0 10px;
        }
      }
    }
    .rightArrow {
      width: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}
